/*
 *  queue.h
 *  Asset modeling
 *
 *  Created by Peeter Meos on 27.02.11.
 *  Copyright 2011 NC3A CAT1. All rights reserved.
 *
 */

#ifndef TYPES_H
	#define TYPES_H
	#include "types.h"
#endif

// Queue operations and functions for casualty queues

extern T_CASUALTY *push_cas(T_CASUALTY *queue, T_CASUALTY *casualty);
extern T_CASUALTY *pop_cas(T_CASUALTY **queue);

extern char cas_stack_len(void *queue);

// Queue operations and functions for event queue

extern void push_event(T_EVENT **queue, T_EVENT *event);
extern T_EVENT *pop_event(T_EVENT **queue);